projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dfb3e1
)
(flyspell-external-point-words):
author
Richard M. Stallman
<rms@gnu.org>
Mon, 7 Nov 2005 00:50:01 +0000
(
00:50
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 7 Nov 2005 00:50:01 +0000
(
00:50
+0000)
flyspell-get-word returns a list, not just a string.
lisp/textmodes/flyspell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/flyspell.el
b/lisp/textmodes/flyspell.el
index 0f0394ad4eae3b769eb3f48900fa9d64841a0699..a4d77213aec4ee12b13ca24c220b9340b834767f 100644
(file)
--- a/
lisp/textmodes/flyspell.el
+++ b/
lisp/textmodes/flyspell.el
@@
-1362,7
+1362,7
@@
The buffer to mark them in is `flyspell-large-region-buffer'."
;; Detect when WORD can't be checked properly
;; because flyspell-get-word finds
;; just part of it, and treat that as ok.
- (if (< (length (
flyspell-get-word nil
))
+ (if (< (length (
car (flyspell-get-word nil)
))
(length word))
nil
(flyspell-word))))